using System;
using System.Collections.Generic;
using System.Text;
using System.IO;

using MicroFractal.iTunesBrowser.Core.Data.ITunesDB.ItemList;

namespace MicroFractal.iTunesBrowser.Core.Data.ITunesDB
{
    public class ITunesAlbumList : ITunesDataSet
    {
        public ITunesAlbumList(MemoryStream data)
            : base(data)
        {
            Header = new Header.DataSetHeader(data);

            
            ItemList = new AlbumItemList(Helper.ITunesHelper.GetMemoryStream(data, Header.Length, Header.TotalLength));
        }
    }
}
